But how does the servlet container track clients that are communicating over a stateless protocol such as http 但是servlet容器如何跟蹤通過無狀態(tài)協(xié)議(如http )通信的客戶機呢?
The protocol used by web is http . based on the review of operation course , it is indicated that http is a stateless protocol Web使用的通信協(xié)議是http ,通過分析該協(xié)議的工作過程,文中揭示了http是無狀態(tài)的協(xié)議。
Essentially , jsf is much closer to a true mvc programming environment than the model 2 architectures , although it s still a stateless protocol 本質(zhì)上, jsf比model 2架構更加接近于真正的mvc編程環(huán)境,盡管它仍然是一種無狀態(tài)的協(xié)議。
Whereas model 2 is geared towards a stateless protocol http , jsf supports a richer mvc model , a much closer approximation of a traditional gui application 盡管model 2連接到一個無狀態(tài)協(xié)議http ,但是jsf支持更加豐富的mvc模型這是傳統(tǒng)gui應用程序更加緊密的近似。
Http is a stateless protocol , meaning that your web server treats each http request for a page as an independent request ; the server retains no knowledge of variable values used during previous requests Http是一種無狀態(tài)協(xié)議,這意味著您的web服務器將對頁面的每個http請求當作獨立的請求進行處理;服務器不保留與先前請求所使用的任何變量值有關的信息。
Unlike a true mvc architecture it is unlikely that the jsf model tier is issuing many events that have to be resolved in more than one viewport ; again we are still dealing with a stateless protocol so this would be unnecessary 與真正的mvc架構不一樣, jsf模型層不可能發(fā)出許多必須在多個視窗viewport中解決的事件此外,我們?nèi)匀辉谔幚頍o狀態(tài)的協(xié)議,所以這是沒必要的。
Http is a stateless protocol , meaning that your web server treats each http request for a page as an independent request ; by default , the server retains no knowledge of variable values used during previous requests Http是無狀態(tài)協(xié)議,這意味著web服務器將頁的每個http請求都當作相互無關的請求進行處理;默認情況下,服務器不保留上一個請求期間使用的變量的值的任何信息。
Unlike rmi iiop , http is normally a stateless protocol that scales well , but does not perform as well due to the size of the messages and the need to create and break down the connection between client and server each time 與rmi / iiop不同的是, http (通常)是一個擴展性很好的無狀態(tài)協(xié)議,但由于消息大小的限制,而且每次都需要在客戶端和服務器之間建立和取消連接,所以不能執(zhí)行得很好。
Because stateful connectivity is one of the basic requirements of most enterprise applications , and because web applications live and die by http - an inherently stateless protocol - clever developers have come up with numerous tricks for simulating stateful connections over http 因為有狀態(tài)連通性是大多數(shù)企業(yè)應用程序的基本需求之一,并且因為web應用程序依賴于http (內(nèi)在的無狀態(tài)協(xié)議) ,所以聰明的開發(fā)人員已經(jīng)找到了許多技巧來在http上模擬有狀態(tài)連接。
百科解釋
In computing, a stateless protocol is a communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. A stateless protocol does not require the server to retain session information or status about each communications partner for the duration of multiple requests.